package com.qf.ge.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "t_phase")
public class TPhase {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 号段
     */
    @TableField(value = "phase")
    private String phase;

    /**
     * 省标识
     */
    @TableField(value = "prov_id")
    private Long provId;

    /**
     * 城市标识
     */
    @TableField(value = "city_id")
    private Long cityId;

    public static final String COL_ID = "id";

    public static final String COL_PHASE = "phase";

    public static final String COL_PROV_ID = "prov_id";

    public static final String COL_CITY_ID = "city_id";

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取号段
     *
     * @return phase - 号段
     */
    public String getPhase() {
        return phase;
    }

    /**
     * 设置号段
     *
     * @param phase 号段
     */
    public void setPhase(String phase) {
        this.phase = phase;
    }

    /**
     * 获取省标识
     *
     * @return prov_id - 省标识
     */
    public Long getProvId() {
        return provId;
    }

    /**
     * 设置省标识
     *
     * @param provId 省标识
     */
    public void setProvId(Long provId) {
        this.provId = provId;
    }

    /**
     * 获取城市标识
     *
     * @return city_id - 城市标识
     */
    public Long getCityId() {
        return cityId;
    }

    /**
     * 设置城市标识
     *
     * @param cityId 城市标识
     */
    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }
}